package com.itheima.demo03;

public class Sheep extends Animal{

    public Sheep() {
    }

    public Sheep(String name, int age) {
        super(name, age);
    }
    public void drinkWater(){
        System.out.println("喝水");
    }
    @Override
    public void eat() {
        System.out.println("山羊吃草");
    }
}
